package com.heaton.videocar.ui

import com.heaton.baselib.base.BaseActivity
import com.heaton.videocar.R
import kotlinx.android.synthetic.main.activity_help.*
import kotlinx.android.synthetic.main.title_layout.*

/**
 * author: jerry
 * date: 20-12-8
 * email: superliu0911@gmail.com
 * des:
 */
class HelpActivity: BaseActivity() {
    override fun layoutId() = R.layout.activity_help

    override fun bindData() {
        tv_title.text = "帮助"
        tv_scan_tip.text = "1.确认手机是否打开蓝牙\n" +
                "2.确认是否授权位置信息权限(不同型号手机可能略有差异)\n" +
                "3.部分手机需要打开定位服务\n" +
                "4.重启手机设备蓝牙，然后重新扫描\n"
        tv_connect_tip.text = "1.重新扫描查看设备是否在线\n" +
                "2.重启硬件设备\n" +
                "3.重启手机设备蓝牙/重启APP\n"
    }

    override fun bindListener() {
        super.bindListener()
        iv_back.setOnClickListener { finish() }
    }
}